<?php

use Phalcon\Mvc\Model;

class Release extends Model
{
    public $id;

    public $version;

    public $env;

    public $path;

    public $description;

    public $created_at;

    public $updated_at;

    public function initialize()
    {
    	if(!$this->id){
    		$this->created_at = date('Y-m-d H:i:s');
    	}
		$this->updated_at = date('Y-m-d H:i:s');
    }
}